package com.zhu.tool_test.starke.util.weapons;

/**
 * @author 4everlynn
 */
public interface StarkeCallable<V, T> {
    /**
     * Computes a result, or throws an exception if unable to do so.
     * @param callback result callback
     * @return computed result
     * @throws Exception if unable to compute a result
     */
    V call(T callback) throws Exception;
}